// FactoryNI6608.h: interface for the CFactoryDCPowerChroma class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FACTORYDCPOWERCHROMA_H__3E6AFE55_2122_466E_9213_861B1AEBAB96__INCLUDED_)
#define AFX_FACTORYDCPOWERCHROMA_H__3E6AFE55_2122_466E_9213_861B1AEBAB96__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "FGEN_NI_5422.h"
#include "Unknwn.h"

class CFactoryNI5422 : public IClassFactory 
{
protected:
	ULONG    m_Ref;

public:
	//IUnknown members
	HRESULT __stdcall QueryInterface(const IID& iid, void **ppv);
	ULONG __stdcall AddRef();
	ULONG __stdcall Release();

	//IClassFactory members
	HRESULT __stdcall CreateInstance(IUnknown *, const IID& iid, void **ppv);
	HRESULT __stdcall LockServer(BOOL);

//	static void Release();
//	static void* CreateInstance(INTERFACETYPE interfaceID);
	CFactoryNI5422();
	virtual ~CFactoryNI5422();
	static CFGEN_NI_5422* m_instance;
	
};

#endif // !defined(AFX_FACTORYDCPOWERCHROMA_H__3E6AFE55_2122_466E_9213_861B1AEBAB96__INCLUDED_)
